libxenlight: fix dm_xenstore_record_pid
authorKeir Fraser <keir.fraser@citrix.com>
Wed, 2 Dec 2009 18:41:31 +0000 (18:41 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Wed, 2 Dec 2009 18:41:31 +0000 (18:41 +0000)
commite510765e70d882b5dc7b3ddc4226a38b34e6534a
tree7f480f84c1de5eaa308279a78bef4228dd6bd448
parent80d4e9ca778762a4911977e7a90a1299b00a8629
libxenlight: fix dm_xenstore_record_pid

The function dm_xenstore_record_pid is executed by a child of the main
process and therefore shouldn't use the same xenstore connection:
currently it opens a new connection but still uses the old one.

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
tools/libxl/libxl.c